-
Notifications
You must be signed in to change notification settings - Fork 362
[docs] Removing deprecated run method reference #2778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@fellyph @adamziel For the Because some other things are deprecated as well. |
|
@mho22 I'm updating the documentation, and I'm finding more examples deprecated. I will move it to draft and add more items. |
|
@mho22 running the code locally I got the following error: |
|
Ah yes, sorry @fellyph, it is related to this : #2776 (comment) You'll need add that in your |
|
@mho22 I have set it up, it's fine. You can review the changes now. Are the demos running |
packages/docs/site/docs/developers/06-apis/javascript-api/03-playground-api-client.md
Show resolved
Hide resolved
...us-plugin-content-docs/current/developers/06-apis/javascript-api/03-playground-api-client.md
Show resolved
Hide resolved
I faced the same issue during the review because I tried to run the file with Node. I now understand how you got this. |
This pull request updates the documentation and usage examples for the PHP WASM library to use the new
runStreammethod instead of the deprecatedrunmethod, reflecting recent API changes. These updates ensure that users and developers are guided to use the latest recommended approach for executing PHP code and handling output streams.Documentation and Example Updates:
php.runStreamin both English and Portuguese versions, replacing the previousphp.runmethod.php.runStreamand updated the output handling to useoutput.stdoutTextinstead ofresponse.text.php.runStreamfor running scripts, ensuring consistency with the new API.